home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Subject: Re: File problem with Wat
- Message-ID: <Dpotx3.6Ku@rci.ripco.com>
- X-Nntp-Sender: mambuhl@cook.ripco.com
- Sender: usenet@rci.ripco.com (Net News Admin)
- Organization: Ripco Internet BBS Chicago
- Date: Thu, 11 Apr 1996 07:53:27 GMT
-
- Ralph Reichart <reichart@informatik.tu-muenchen.de>
- in <4k9fds$4fs@sparcserver.lrz-muenchen.de> asks:
-
- >i have a big problem. i'm trying to open a file with fopen. the program
- >looks like this:
-
- [...]
- > Datei = fopen("\autoexec.bat", "r");
- change to
- > Datei = fopen("\\autoexec.bat", "r"); /* or */
- > Datei = fopen("/autoexec.bat", "r");
-
- [...]
- This is unrelated to the identity of the compiler.
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-